[bits 32]

extern _console_init
extern _memory_init
extern _gdt_init
extern _kernel_init
extern _gdt_ptr
extern _device_init

section .text
global _start
_start:
    push ebx
    push eax
    call _device_init
    call _console_init
    call _gdt_init
    lgdt [_gdt_ptr]
    call _memory_init
    call _kernel_init
    jmp $